home *** CD-ROM | disk | FTP | other *** search
- tipx is based on the 4.3 tip available from uunet's ftp
- communications subdirectory.
-
- Two changes were added, transparent mode (called rawthru in
- the code) and X/Y/ZMODEM file transfer.
-
- To make tipx, first get the basic tip distribution working, then
- unshar this set on top of a copy of the distribution, type
- sh CONVERT2TIPX
- edit the Makefile to your liking, then make. Leave -DTIPX in the CFLAGS
- to keep the tipx changes. Removing -DTIPX should cause the original tip
- to be produced.
-
- Typing make in the xfer subdirectory will make the two transfer programs.
- Place tipx, tiprz and tipsz together in reach of your $PATH to
- execute. You may have to set u+s on tipx and chown to daemon,
- uucp or some other uid. I have not run tipx setuid, but the same
- security precautions are taken with file transfer as are taken
- with other pertinent paths, such as shell escape, etc.
-
- If you do not want -DACULOG, remake in libacu. (-DACULOG is the
- onlything on our system which required setuid).
-
- I make no warranties: caveat emptor, carpe diem and all that stuff. You
- may wish to remove the copyright notice on startup. It probably does
- not need to be there, but I am a nervous wee hacker (old definition!)
- and tread lightly in the land of wizards.
-
- Transparent Pass-through
- ------------------------
-
- The ~R and ~N commands were added to support transparent mode
- (eight-bit transmission between local and remote tty).
-
- ~R enables transparent mode, after which all characters are
- passed byte-for-byte, bit for bit between the two tty ports.
- The sole exception is that if no input is sent by the local
- tty for one second, followed by three escape codes (usually
- tilde) within a second, followed by a second of silence, then
- the tip command mode is entered. The side effect of this
- feature is that the first escape character passed in this
- window of two seconds will delay transmission for up to two
- seconds. This has not been too much of a problem here.
-
- File Transfer
- -------------
-
- The file transfer mode requires the control tty to have a
- valid TERM environment variable since it uses a curses-based
- status display.
-
- ~X enters the file transfer mode. Viz:
-
- ~X
- file transfer command? (? for help) ?
- for send help, type ~Xs?; for receive help, type ~Xr?
- where ~ represents your escape character
-
- XMODEM (CHK, CRC) and XMODEM-1k/CRC
- sx [-ak] filename -a (ASCII) convert NL to CR/LF (default binary)
- -k use 1024 blocks instead of 128 (XMODEM-1k)
- YMODEM/CRC Batch
- sy [-af] filelist -a (ASCII) convert NL to CR/LF (default binary)
- -f transfer using full pathanme (default simple)
- ZMODEM (CRC-16, CRC-32)
- sz [-af+nNyrwo] [-w #] [-L #] [-l #] filelist
- -a (ASCII) convert NL to CR/LF (default binary)
- not all ZMODEM -f transfer using full pathanme (default simple)
- receivers accept -+ Append to existing destination file
- all overwrite -n overwrite file if source newer
- or append -N overwrite file if source newer or longer
- options -y yes, absolutely overwrite existing file
- -r Resume/Recover interrupted file transfer
- -o use CRC-16 instead of CRC-32
- -w # Window is # bytes (>= 256, multiple of 64)
- -L # Limit subpacket length to # bytes
- -l # Limit frame length to # bytes (l must >= L)
-
- ~X
- file transfer command? (? for help) r?
- XMODEM (CHK, CRC) (rcvr tries CRC, then checksum)
- rx [-ab] filename
- YMODEM/CRC Batch ry [-abu]
- ZMODEM (CRC-16, CRC-32) rz [-abu]
- Switches: -a force ASCII translation on receive
- -b force binary transfer
- -u convert uppercase filenames to lower case
-
- All of the switches are compatible with the rz/sz programs (1.44)
- by Chuck Forsberg from which these programs were derived.
-
- The curses-based status display looks something like:
-
- .-[ tipsz 1.00 ]-- /u3/sd/wht -----------------------------.
- | ZMODEM/CRC32 Transfer rate ~= 319 ch/sec (33%) |
- | File 1 of 1: mail.log |
- | File position: 1275 length: 1275 -rw------- |
- | Sending 1275 bytes total time ~= 0:02 |
- | tx: hdr ZFIN 0 rx: hdr ZFIN 0 |
- | Comm I/O: rx 176 tx 1414 bytes |
- | Baud rate: 9600 BINARY blklen: 1024 comm mode: NORMAL |
- | Time: started: 18:03:04 this file: 18:03:06 window: |
- | 18:03:12 elapsed: 00:00:08 00:00:00 +0 |
- | Errors: this file: 0 total: 0 files skipped: 0 |
- | Total file bytes transferred: 1275 |
- | End of file |
- | Remote: CRC32 y duplex y continuous stream y |
- `----------------------------------------------------------'
-
- away for 11 seconds
- !
-
-
- Enjoy,
- Warren Tucker <wht%n4hgf@gatech.edu>
- 150 West Lake Drive
- Mountain Park, GA 30075
- (404) 587-5766
-
- TODO (from Doug Kingston <dpk@morgan.com> README.SLIP)
- port back to SunOS 3.5/4.2BSD environment (line discipline version)
- (code is there but untested)
- work on header file includes and ioctl usage
- to eliminate the redefine error messages
-
- TODO
- update man pages
-